package com.lxmes.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 量检具校验记录对象 nc_measuring_instrument_calibration
 * 
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcMeasuringInstrumentCalibration", description = "量检具校验记录对象")    
public class NcMeasuringInstrumentCalibration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 量检具基本信息 */
    @Excel(name = "量检具基本信息")
    @ApiModelProperty("量检具基本信息")
    private String instrumentInfo;

    /** 校验周期 */
    @Excel(name = "校验周期")
    @ApiModelProperty("校验周期")
    private String calibrationPeriod;

    /** 校验日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "校验日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("校验日期")
    private Date calibrationDate;

    /** 校验结果 */
    @Excel(name = "校验结果")
    @ApiModelProperty("校验结果")
    private String calibrationResult;

    /** 放行状态 */
    @Excel(name = "放行状态")
    @ApiModelProperty("放行状态")
    private String releaseStatus;

    /** 校准人员 */
    @Excel(name = "校准人员")
    @ApiModelProperty("校准人员")
    private String calibrationPerson;

    /** 记录员 */
    @Excel(name = "记录员")
    @ApiModelProperty("记录员")
    private String recorder;

    /** 复核员 */
    @Excel(name = "复核员")
    @ApiModelProperty("复核员")
    private String reviewer;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setInstrumentInfo(String instrumentInfo) 
    {
        this.instrumentInfo = instrumentInfo;
    }

    public String getInstrumentInfo() 
    {
        return instrumentInfo;
    }
    public void setCalibrationPeriod(String calibrationPeriod) 
    {
        this.calibrationPeriod = calibrationPeriod;
    }

    public String getCalibrationPeriod() 
    {
        return calibrationPeriod;
    }
    public void setCalibrationDate(Date calibrationDate) 
    {
        this.calibrationDate = calibrationDate;
    }

    public Date getCalibrationDate() 
    {
        return calibrationDate;
    }
    public void setCalibrationResult(String calibrationResult) 
    {
        this.calibrationResult = calibrationResult;
    }

    public String getCalibrationResult() 
    {
        return calibrationResult;
    }
    public void setReleaseStatus(String releaseStatus) 
    {
        this.releaseStatus = releaseStatus;
    }

    public String getReleaseStatus() 
    {
        return releaseStatus;
    }
    public void setCalibrationPerson(String calibrationPerson) 
    {
        this.calibrationPerson = calibrationPerson;
    }

    public String getCalibrationPerson() 
    {
        return calibrationPerson;
    }
    public void setRecorder(String recorder) 
    {
        this.recorder = recorder;
    }

    public String getRecorder() 
    {
        return recorder;
    }
    public void setReviewer(String reviewer) 
    {
        this.reviewer = reviewer;
    }

    public String getReviewer() 
    {
        return reviewer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("instrumentInfo", getInstrumentInfo())
            .append("calibrationPeriod", getCalibrationPeriod())
            .append("calibrationDate", getCalibrationDate())
            .append("calibrationResult", getCalibrationResult())
            .append("releaseStatus", getReleaseStatus())
            .append("calibrationPerson", getCalibrationPerson())
            .append("recorder", getRecorder())
            .append("reviewer", getReviewer())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
